package asia.lxq.cic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Activity {

    @TableId(type = IdType.AUTO)
    int activityId;
    String activityTitle;
    String activityDesc;
    Date activityDate;
    int activitySponsorId;
    String activityRequirement;
    String activityExtent;
    String activityVerification;
    Date activityArrange;
    Date activityDone;
    Date activityStage;
    String activityPosition;
    int activityGroupId;
    int activityCollegeId;

    @TableField(exist = false)
    User sponsor;
    @TableField(exist = false)
    List<Sign> participantList;
}
